<template>
  <div>
    <p class="msg">{{msg}}</p>
  </div>
</template>

<script>
export default { /*和vue一致*/
  name: 'HelloWorld',
  data(){
    return {
      msg:'Hello Vue!'
    }
  }
}
</script>

<style scoped>
  .msg{
    width: 100px;
    height: 100px;
    border: 1px solid rebeccapurple;
  }
</style>
